import PageTools from './PageTools/index.vue'
import UploadExcel from './UploadExcel/index.vue'
import ImageUpload from './ImageUpload/index'
import print from 'vue-print-nb'
import Screenfull from './Screenfull'
import ThemePicker from './ThemePicker'
import LangSelect from './LangSelect'
import TagsView from './TagsView/index.vue'

export default {
  install(Vue) {
    Vue.component('PageTools', PageTools) // 注册工具栏组件
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('ImageUpload', ImageUpload) // 注册导入图片上传组件
    Vue.component('Screenfull', Screenfull) // 注册选择全屏组件
    Vue.component('ThemePicker', ThemePicker) // 注册基础颜色组件
    Vue.component('LangSelect', LangSelect) // 注册基础颜色组件
    Vue.component('TagsView', TagsView) // 注册基础颜色组件

    Vue.use(print) // 这里要解决疑问
  }
}
